﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
<%@ Register Assembly="Altairis.IdentityToolkit" Namespace="Altairis.IdentityToolkit.LiveId" TagPrefix="altairis" %>
<%@ Register Assembly="LeastPrivilege.InfoCardSelector" Namespace="LeastPrivilege.CardSpaceLibrary.UI" TagPrefix="lp" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Altairis Identity Toolkit Demo Web Site</title>
</head>
<body>
    <form id="form1" runat="server">
    <h1>
        Altairis Identity Toolkit Demo Web Site
    </h1>
    <table class="grid" width="900px">
        <tr>
            <th>
                Password
            </th>
            <th>
                Windows Live ID
            </th>
            <th>
                Information Card
            </th>
        </tr>
        <tr>
            <td>
                <asp:Login ID="Login1" runat="server" CssClass="login" />
                <p>
                    <b>Test users:</b><br />
                    L: testuser, P: test.password<br />
                    L: demouser, P: demo.password<br />
                </p>
            </td>
            <td style="text-align: center;">
                <altairis:LiveLogin ID="LiveLogin1" runat="server" />
            </td>
            <td style="text-align: center;">
                <div id="InfoCardSupported">
                    <lp:InfoCardSelector ID="InfoCardSelector1" runat="server" AutoDecryptToken="True" AutoPostback="True" UnsupportedDiv="InfoCardUnsupported" StandardImageSize="Size114x80" RequireSsl="false" RenderMode="Dynamic" RenderOnlyIfSupported="True" DivToRender="InfoCardSupported" OnTokenSubmitted="InfoCardSelector1_TokenSubmitted">
                        <lp:ClaimType IsOptional="False" Name="PPID" Type="Standard" />
                    </lp:InfoCardSelector>
                </div>
                <div id="InfoCardUnsupported">
                    Information Cards are not supported in this browser.
                </div>
            </td>
        </tr>
    </table>
    <p>
        Copyright © Michal A. Valášek - Altairis, 2008<br />
        <a href="http://www.codeplex.com/AltairisIdentityToolkit/">http://www.codeplex.com/AltairisIdentityToolkit/</a>
    </p>
    </form>
</body>
</html>
